<?php

namespace App\Http\Models;

use Illuminate\Database\Eloquent\Model;

class Zan extends Model
{
    // 指定表名
    protected $table = 'zans';

    // 允许批量赋值的字段
    protected $fillable = ['user_id', 'post_id'];

    // 禁止批量赋值的字段
    protected $guarded = [];
}
